<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>LSB隐写</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>

</head>

<body>
    <!-- 顶部导航栏 -->
    <nav class="navbar navbar-expand navbar-light bg-light">
        <div class="container-fluid">
            <a class="navbar-brand" href="#">信息隐藏算法学习</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
                aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav">
                    <!-- 隐写概述 -->
                    <li class="nav-item">
                        <a class="nav-link active" aria-current="page" href="#">隐写概述</a>
                    </li>
                    <!-- 隐写功能实测 -->
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button"
                            data-bs-toggle="dropdown" aria-expanded="false">
                            隐写功能实测
                        </a>
                        <ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
                            <li><a class="dropdown-item" href="lsb-encode.html">LSB隐写</a></li>
                            <li><a class="dropdown-item" href="pvd.html">PVD隐写</a></li>
                            <li><a class="dropdown-item" href="dct.html">DCT隐写</a></li>
                        </ul>
                    </li>
                    <!-- 扩展阅读 -->
                    <li class="nav-item">
                        <a class="nav-link" href="#">扩展阅读</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- 模块内容 -->
    <div class="container">
        <div class="row  mt-4">
            <!-- 左侧导航栏 -->
            <nav class="col-3 d-flex flex-column text-white bg-dark rounded" style="min-height: 80vh;">
                <a href="/" class="d-flex align-items-center justify-content-center text-white text-decoration-none">
                    <span class="fs-4 mt-3" style="white-space: nowrap;">LSB处理</span>
                </a>
                <hr>
                <ul class="nav nav-pills flex-column mb-auto bg-dark">
                    <li class="nav-item">
                        <a href="lsb-encode.html" class="nav-link d-flex align-items-center text-white">
                            <span class="fs-6" style="white-space: nowrap;">LSB隐写</span>
                        </a>
                    </li>
                    <li>
                        <a href="lsb-decode.html" class="nav-link d-flex align-items-center bg-white text-dark">
                            <span class="fs-6" style="white-space: nowrap;">LSB提取</span>
                        </a>
                    </li>
                </ul>
                <hr>
            </nav>


            <!-- 右侧lsb解密 -->
            <aside class="col-8 offset-1">
                <div>
                    <!-- 提取标题 -->
                    <div class="d-flex mt-3 justify-content-center">
                        <h4> LSB提取 </h4>
                    </div>
                    <form action="handle-lsb-hide" method='POST' enctype="multipart/form-data">
                        <!-- 选择文件 -->
                        <div class="input-group mt-3">
                            <input type="file" class="form-control text-muted" id="inputGroupFile04"
                                aria-describedby="inputGroupFileAddon04" aria-label="Upload">
                            <button class="btn btn-secondary" type="submit" id="inputGroupFileAddon04">选择</button>

                        </div>
                        <br>
                        <!-- 隐写位数 -->
                        <div>
                            <select class="form-select text-muted" aria-label="Default select example">
                                <option selected>选择已隐写的位数</option>
                                <option value="1">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                                <option value="6">6</option>
                                <option value="7">7</option>
                                <option value="8">8</option>
                            </select>
                            <span id="show"></span>
                            <br>
                        </div>
                        <!-- 提取按钮 -->
                        <div class="d-flex justify-content-center">
                            <br>
                            <button type="submit" class="btn btn-secondary">提取</button>
                        </div>
                        <!-- 解密内容 -->
                        <div class="input-group mt-3">
                            <input type="text" class="form-control" placeholder="隐藏的内容是…" aria-label="隐藏的内容是…">
                        </div>
                    </form>
                </div>
            </aside>

        </div>
    </div>
</body>

</html>